const redis = require('redis');
const { REDIS_CONF } = require('../conf/db');
// 创建客户端
const redisClient = redis.createClient(6379, REDIS_CONF.host);
redisClient.on('error', err => {
  console.error(err);
});


module.exports = redisClient;

